package com.example;

/**
 * @ClassName NumberOfLeadingZerosTest
 * @Description TODO
 * @Author: XMK
 * @Date: 2021/4/12 19:00
 * @Version: 1.0
 */
public class NumberOfLeadingZerosTest {
    public static void main(String[] args) {
        System.out.println(Integer.numberOfLeadingZeros(16));
        System.out.println(1 << 15);
        System.out.println((Integer.numberOfLeadingZeros(16) | (1 << (16 - 1))) << 16);
    }
}
